package ezXpns.analysis.transforms;

import ezXpns.BudgetChange;
import ezXpns.analysis.Transform;
/**
 * An object that returns the amount of
 * an expense or income item
 *
 */

//@author A0086934R
public class AmountExtractor implements Transform<BudgetChange, Float> {
	@Override
	public Float apply(BudgetChange change) {
		return change.getAmount();
	}
}
